package com.jiuqi.irs.generator.dao.pojo;

import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="TB_USERINFO"
 *     
*/
public class TbUserInfo implements Serializable {

   
    private String infoGuid;
   
    private String orgGuid;

    private String infoOperator;

    private String infoCeo;
    
    private String infoCfo;
    
    private String infoPostcode;
    
    private String infoTel;
    
    private String infoAddress;
    
    private String infoCreatTime;
    
    private String infoLastTime;
    
    private String infoYear;
   
    private String reserved1;
   
    private String reserved2;
   
    private String reserved3;

    public String getInfoGuid() {
		return infoGuid;
	}


	public void setInfoGuid(String infoGuid) {
		this.infoGuid = infoGuid;
	}


	public String getOrgGuid() {
		return orgGuid;
	}


	public void setOrgGuid(String orgGuid) {
		this.orgGuid = orgGuid;
	}


	public String getInfoOperator() {
		return infoOperator;
	}


	public void setInfoOperator(String infoOperator) {
		this.infoOperator = infoOperator;
	}


	public String getInfoCeo() {
		return infoCeo;
	}


	public void setInfoCeo(String infoCeo) {
		this.infoCeo = infoCeo;
	}


	public String getInfoCfo() {
		return infoCfo;
	}


	public void setInfoCfo(String infoCfo) {
		this.infoCfo = infoCfo;
	}


	public String getInfoPostcode() {
		return infoPostcode;
	}


	public void setInfoPostcode(String infoPostcode) {
		this.infoPostcode = infoPostcode;
	}


	public String getInfoTel() {
		return infoTel;
	}


	public void setInfoTel(String infoTel) {
		this.infoTel = infoTel;
	}


	public String getInfoAddress() {
		return infoAddress;
	}


	public void setInfoAddress(String infoAddress) {
		this.infoAddress = infoAddress;
	}


	public String getInfoCreatTime() {
		return infoCreatTime;
	}


	public void setInfoCreatTime(String infoCreatTime) {
		this.infoCreatTime = infoCreatTime;
	}


	public String getInfoLastTime() {
		return infoLastTime;
	}


	public void setInfoLastTime(String infoLastTime) {
		this.infoLastTime = infoLastTime;
	}


	public String getInfoYear() {
		return infoYear;
	}


	public void setInfoYear(String infoYear) {
		this.infoYear = infoYear;
	}


	public String getReserved1() {
		return reserved1;
	}


	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}


	public String getReserved2() {
		return reserved2;
	}


	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}


	public String getReserved3() {
		return reserved3;
	}


	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}

	
	 public TbUserInfo(String infoGuid, String orgGuid,String infoOperator, String infoCeo, String infoCfo, String infoPostcode, String infoTel, String infoAddress, String infoCreatTime, String infoLastTime, String infoYear, String reserved1, String reserved2, String reserved3) {
	    	this.infoGuid = infoGuid;
	        this.orgGuid = orgGuid;
	        this.infoOperator = infoOperator;
	        this.infoCeo = infoCeo;
	        this.infoCfo = infoCfo;
	        this.infoPostcode = infoPostcode;
	        this.infoTel = infoTel;
	        this.infoAddress = infoAddress;
	        this.infoCreatTime = infoCreatTime;
	        this.infoLastTime = infoLastTime;
	        this.infoYear = infoYear;
	        this.reserved1 = reserved1;
	        this.reserved2 = reserved2;
	        this.reserved3 = reserved3;
	    }



	public TbUserInfo() {
    }

    
    public TbUserInfo(String infoGuid, String orgGuid) {
        this.infoGuid = infoGuid;
        this.orgGuid = orgGuid;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("infoGuid", getInfoGuid())
            .toString();
    }

    public boolean equals(Object other) {
        if ( !(other instanceof TbUserInfo) ) return false;
        TbUserInfo castOther = (TbUserInfo) other;
        return new EqualsBuilder()
            .append(this.getInfoGuid(), castOther.getInfoGuid())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getInfoGuid())
            .toHashCode();
    }
}
